using System;
using System.Collections.Generic;
using System.Text;
using Shc.Sql;
using Shc.Json;
namespace Slqj.Data
{
	public static class TableViewRoomOrderItemReport
	{
		public const string Table = "View_RoomOrderItemReport";
		public const string GuestRoomOrderItemID = "GuestRoomOrderItemID";
		public const string OrdersID = "OrdersID";
		public const string HotelInfoID = "HotelInfoID";
		public const string HotelName = "HotelName";
		public const string GuestRoomID = "GuestRoomID";
		public const string GuestRoomName = "GuestRoomName";
		public const string OriginalPrice = "OriginalPrice";
		public const string WeekdaysPrice = "WeekdaysPrice";
		public const string WeekendPrice = "WeekendPrice";
		public const string HolidayPrice = "HolidayPrice";
		public const string Profit = "Profit";
		public const string SettlementPrice = "SettlementPrice";
		public const string Discount = "Discount";
		public const string BackPoint = "BackPoint";
		public const string CityID = "CityID";
		public const string Area = "Area";
		public const string Tax = "Tax";
		public const string Quantity = "Quantity";
		public const string TotalAmount = "TotalAmount";
		public const string Creater = "Creater";
		public const string CreatedBy = "CreatedBy";
		public const string Created = "Created";
		public const string Modified = "Modified";
		public const string ModifiedBy = "ModifiedBy";
		public const string ModifiedByID = "ModifiedByID";
		public const string StartDate = "StartDate";
		public const string EndDate = "EndDate";
		public const string CustomerName = "CustomerName";
		public const string SystemProfit = "SystemProfit";
		public const string WeekdaysPriceSettled = "WeekdaysPriceSettled";
		public const string WeekendPriceSettled = "WeekendPriceSettled";
		public const string HolidayPriceSettled = "HolidayPriceSettled";
		public const string Visitors = "Visitors";
		public const string ContactPhone = "ContactPhone";
		public const string BroadbandCase = "BroadbandCase";
		public const string RoomSize = "RoomSize";
		public const string Breakfast = "Breakfast";
		public const string ItemOrdersNo = "ItemOrdersNo";
		public const string MembersID = "MembersID";
		public const string MemberName = "MemberName";
		public const string Contact = "Contact";
		public const string OrderStatusID = "OrderStatusID";
		public const string OrderTypeID = "OrderTypeID";
		public const string OrdersNo = "OrdersNo";
		public const string OrderDate = "OrderDate";
		public const string OrderTotalAmount = "OrderTotalAmount";
		public const string TelePhone = "TelePhone";
		public const string Mobile = "Mobile";
		public const string TradeNo = "TradeNo";
		public const string PayInfo = "PayInfo";
		public const string PayDate = "PayDate";
		public const string MemberNo = "MemberNo";
		public const string PreOrderStatusID = "PreOrderStatusID";
		public const string OrderStatusName = "OrderStatusName";
		public const string Address = "Address";
		public const string HotelTelePhone = "HotelTelePhone";
		public const string Fax = "Fax";
		public const string PayStatus = "PayStatus";
		public const string RefundrDate = "RefundrDate";
		public const string RefundAmount = "RefundAmount";
		public const string TransferDate = "TransferDate";
		public const string TransferTradeNo = "TransferTradeNo";
		public const string TransferPayInfo = "TransferPayInfo";
		public const string TransferPayStatus = "TransferPayStatus";
	}
	
	[Serializable]
	public class BaseViewRoomOrderItemReport
		: IDbSessionEntity, IJsonClass
	{
		int m_GuestRoomOrderItemID;
		/// <summary>
        /// 
        /// </summary>
        public int GuestRoomOrderItemID
        {
            get { return m_GuestRoomOrderItemID; }
            set { m_GuestRoomOrderItemID = value; }
        }
		
		int? m_OrdersID;
		/// <summary>
        /// 
        /// </summary>
        public int? OrdersID
        {
            get { return m_OrdersID; }
            set { m_OrdersID = value; }
        }
		
		int m_HotelInfoID;
		/// <summary>
        /// 
        /// </summary>
        public int HotelInfoID
        {
            get { return m_HotelInfoID; }
            set { m_HotelInfoID = value; }
        }
		
		string m_HotelName;
		/// <summary>
        /// 
        /// </summary>
        public string HotelName
        {
            get { return m_HotelName; }
            set { m_HotelName = value; }
        }
		
		int m_GuestRoomID;
		/// <summary>
        /// 
        /// </summary>
        public int GuestRoomID
        {
            get { return m_GuestRoomID; }
            set { m_GuestRoomID = value; }
        }
		
		string m_GuestRoomName;
		/// <summary>
        /// 
        /// </summary>
        public string GuestRoomName
        {
            get { return m_GuestRoomName; }
            set { m_GuestRoomName = value; }
        }
		
		double m_OriginalPrice;
		/// <summary>
        /// 
        /// </summary>
        public double OriginalPrice
        {
            get { return m_OriginalPrice; }
            set { m_OriginalPrice = value; }
        }
		
		double m_WeekdaysPrice;
		/// <summary>
        /// 
        /// </summary>
        public double WeekdaysPrice
        {
            get { return m_WeekdaysPrice; }
            set { m_WeekdaysPrice = value; }
        }
		
		double m_WeekendPrice;
		/// <summary>
        /// 
        /// </summary>
        public double WeekendPrice
        {
            get { return m_WeekendPrice; }
            set { m_WeekendPrice = value; }
        }
		
		double m_HolidayPrice;
		/// <summary>
        /// 
        /// </summary>
        public double HolidayPrice
        {
            get { return m_HolidayPrice; }
            set { m_HolidayPrice = value; }
        }
		
		double m_Profit;
		/// <summary>
        /// 
        /// </summary>
        public double Profit
        {
            get { return m_Profit; }
            set { m_Profit = value; }
        }
		
		double m_SettlementPrice;
		/// <summary>
        /// 
        /// </summary>
        public double SettlementPrice
        {
            get { return m_SettlementPrice; }
            set { m_SettlementPrice = value; }
        }
		
		double m_Discount;
		/// <summary>
        /// 
        /// </summary>
        public double Discount
        {
            get { return m_Discount; }
            set { m_Discount = value; }
        }
		
		double m_BackPoint;
		/// <summary>
        /// 
        /// </summary>
        public double BackPoint
        {
            get { return m_BackPoint; }
            set { m_BackPoint = value; }
        }
		
		int m_CityID;
		/// <summary>
        /// 
        /// </summary>
        public int CityID
        {
            get { return m_CityID; }
            set { m_CityID = value; }
        }
		
		string m_Area;
		/// <summary>
        /// 
        /// </summary>
        public string Area
        {
            get { return m_Area; }
            set { m_Area = value; }
        }
		
		double m_Tax;
		/// <summary>
        /// 
        /// </summary>
        public double Tax
        {
            get { return m_Tax; }
            set { m_Tax = value; }
        }
		
		int m_Quantity;
		/// <summary>
        /// 
        /// </summary>
        public int Quantity
        {
            get { return m_Quantity; }
            set { m_Quantity = value; }
        }
		
		double m_TotalAmount;
		/// <summary>
        /// 
        /// </summary>
        public double TotalAmount
        {
            get { return m_TotalAmount; }
            set { m_TotalAmount = value; }
        }
		
		int m_Creater;
		/// <summary>
        /// 
        /// </summary>
        public int Creater
        {
            get { return m_Creater; }
            set { m_Creater = value; }
        }
		
		string m_CreatedBy;
		/// <summary>
        /// 
        /// </summary>
        public string CreatedBy
        {
            get { return m_CreatedBy; }
            set { m_CreatedBy = value; }
        }
		
		DateTime m_Created;
		/// <summary>
        /// 
        /// </summary>
        public DateTime Created
        {
            get { return m_Created; }
            set { m_Created = value; }
        }
		
		DateTime m_Modified;
		/// <summary>
        /// 
        /// </summary>
        public DateTime Modified
        {
            get { return m_Modified; }
            set { m_Modified = value; }
        }
		
		string m_ModifiedBy;
		/// <summary>
        /// 
        /// </summary>
        public string ModifiedBy
        {
            get { return m_ModifiedBy; }
            set { m_ModifiedBy = value; }
        }
		
		int? m_ModifiedByID;
		/// <summary>
        /// 
        /// </summary>
        public int? ModifiedByID
        {
            get { return m_ModifiedByID; }
            set { m_ModifiedByID = value; }
        }
		
		DateTime m_StartDate;
		/// <summary>
        /// 
        /// </summary>
        public DateTime StartDate
        {
            get { return m_StartDate; }
            set { m_StartDate = value; }
        }
		
		DateTime m_EndDate;
		/// <summary>
        /// 
        /// </summary>
        public DateTime EndDate
        {
            get { return m_EndDate; }
            set { m_EndDate = value; }
        }
		
		string m_CustomerName;
		/// <summary>
        /// 
        /// </summary>
        public string CustomerName
        {
            get { return m_CustomerName; }
            set { m_CustomerName = value; }
        }
		
		double m_SystemProfit;
		/// <summary>
        /// 
        /// </summary>
        public double SystemProfit
        {
            get { return m_SystemProfit; }
            set { m_SystemProfit = value; }
        }
		
		double m_WeekdaysPriceSettled;
		/// <summary>
        /// 
        /// </summary>
        public double WeekdaysPriceSettled
        {
            get { return m_WeekdaysPriceSettled; }
            set { m_WeekdaysPriceSettled = value; }
        }
		
		double m_WeekendPriceSettled;
		/// <summary>
        /// 
        /// </summary>
        public double WeekendPriceSettled
        {
            get { return m_WeekendPriceSettled; }
            set { m_WeekendPriceSettled = value; }
        }
		
		double m_HolidayPriceSettled;
		/// <summary>
        /// 
        /// </summary>
        public double HolidayPriceSettled
        {
            get { return m_HolidayPriceSettled; }
            set { m_HolidayPriceSettled = value; }
        }
		
		string m_Visitors;
		/// <summary>
        /// 
        /// </summary>
        public string Visitors
        {
            get { return m_Visitors; }
            set { m_Visitors = value; }
        }
		
		string m_ContactPhone;
		/// <summary>
        /// 
        /// </summary>
        public string ContactPhone
        {
            get { return m_ContactPhone; }
            set { m_ContactPhone = value; }
        }
		
		string m_BroadbandCase;
		/// <summary>
        /// 
        /// </summary>
        public string BroadbandCase
        {
            get { return m_BroadbandCase; }
            set { m_BroadbandCase = value; }
        }
		
		double m_RoomSize;
		/// <summary>
        /// 
        /// </summary>
        public double RoomSize
        {
            get { return m_RoomSize; }
            set { m_RoomSize = value; }
        }
		
		string m_Breakfast;
		/// <summary>
        /// 
        /// </summary>
        public string Breakfast
        {
            get { return m_Breakfast; }
            set { m_Breakfast = value; }
        }
		
		string m_ItemOrdersNo;
		/// <summary>
        /// 
        /// </summary>
        public string ItemOrdersNo
        {
            get { return m_ItemOrdersNo; }
            set { m_ItemOrdersNo = value; }
        }
		
		int m_MembersID;
		/// <summary>
        /// 
        /// </summary>
        public int MembersID
        {
            get { return m_MembersID; }
            set { m_MembersID = value; }
        }
		
		string m_MemberName;
		/// <summary>
        /// 
        /// </summary>
        public string MemberName
        {
            get { return m_MemberName; }
            set { m_MemberName = value; }
        }
		
		string m_Contact;
		/// <summary>
        /// 
        /// </summary>
        public string Contact
        {
            get { return m_Contact; }
            set { m_Contact = value; }
        }
		
		int? m_OrderStatusID;
		/// <summary>
        /// 
        /// </summary>
        public int? OrderStatusID
        {
            get { return m_OrderStatusID; }
            set { m_OrderStatusID = value; }
        }
		
		int? m_OrderTypeID;
		/// <summary>
        /// 
        /// </summary>
        public int? OrderTypeID
        {
            get { return m_OrderTypeID; }
            set { m_OrderTypeID = value; }
        }
		
		string m_OrdersNo;
		/// <summary>
        /// 
        /// </summary>
        public string OrdersNo
        {
            get { return m_OrdersNo; }
            set { m_OrdersNo = value; }
        }
		
		DateTime m_OrderDate;
		/// <summary>
        /// 
        /// </summary>
        public DateTime OrderDate
        {
            get { return m_OrderDate; }
            set { m_OrderDate = value; }
        }
		
		double m_OrderTotalAmount;
		/// <summary>
        /// 
        /// </summary>
        public double OrderTotalAmount
        {
            get { return m_OrderTotalAmount; }
            set { m_OrderTotalAmount = value; }
        }
		
		string m_TelePhone;
		/// <summary>
        /// 
        /// </summary>
        public string TelePhone
        {
            get { return m_TelePhone; }
            set { m_TelePhone = value; }
        }
		
		string m_Mobile;
		/// <summary>
        /// 
        /// </summary>
        public string Mobile
        {
            get { return m_Mobile; }
            set { m_Mobile = value; }
        }
		
		string m_TradeNo;
		/// <summary>
        /// 
        /// </summary>
        public string TradeNo
        {
            get { return m_TradeNo; }
            set { m_TradeNo = value; }
        }
		
		string m_PayInfo;
		/// <summary>
        /// 
        /// </summary>
        public string PayInfo
        {
            get { return m_PayInfo; }
            set { m_PayInfo = value; }
        }
		
		DateTime? m_PayDate;
		/// <summary>
        /// 
        /// </summary>
        public DateTime? PayDate
        {
            get { return m_PayDate; }
            set { m_PayDate = value; }
        }
		
		string m_MemberNo;
		/// <summary>
        /// 
        /// </summary>
        public string MemberNo
        {
            get { return m_MemberNo; }
            set { m_MemberNo = value; }
        }
		
		int m_PreOrderStatusID;
		/// <summary>
        /// 
        /// </summary>
        public int PreOrderStatusID
        {
            get { return m_PreOrderStatusID; }
            set { m_PreOrderStatusID = value; }
        }
		
		string m_OrderStatusName;
		/// <summary>
        /// 
        /// </summary>
        public string OrderStatusName
        {
            get { return m_OrderStatusName; }
            set { m_OrderStatusName = value; }
        }
		
		string m_Address;
		/// <summary>
        /// 
        /// </summary>
        public string Address
        {
            get { return m_Address; }
            set { m_Address = value; }
        }
		
		string m_HotelTelePhone;
		/// <summary>
        /// 
        /// </summary>
        public string HotelTelePhone
        {
            get { return m_HotelTelePhone; }
            set { m_HotelTelePhone = value; }
        }
		
		string m_Fax;
		/// <summary>
        /// 
        /// </summary>
        public string Fax
        {
            get { return m_Fax; }
            set { m_Fax = value; }
        }
		
		int? m_PayStatus;
		/// <summary>
        /// 
        /// </summary>
        public int? PayStatus
        {
            get { return m_PayStatus; }
            set { m_PayStatus = value; }
        }
		
		DateTime? m_RefundrDate;
		/// <summary>
        /// 
        /// </summary>
        public DateTime? RefundrDate
        {
            get { return m_RefundrDate; }
            set { m_RefundrDate = value; }
        }
		
		double? m_RefundAmount;
		/// <summary>
        /// 
        /// </summary>
        public double? RefundAmount
        {
            get { return m_RefundAmount; }
            set { m_RefundAmount = value; }
        }
		
		DateTime? m_TransferDate;
		/// <summary>
        /// 
        /// </summary>
        public DateTime? TransferDate
        {
            get { return m_TransferDate; }
            set { m_TransferDate = value; }
        }
		
		string m_TransferTradeNo;
		/// <summary>
        /// 
        /// </summary>
        public string TransferTradeNo
        {
            get { return m_TransferTradeNo; }
            set { m_TransferTradeNo = value; }
        }
		
		string m_TransferPayInfo;
		/// <summary>
        /// 
        /// </summary>
        public string TransferPayInfo
        {
            get { return m_TransferPayInfo; }
            set { m_TransferPayInfo = value; }
        }
		
		int? m_TransferPayStatus;
		/// <summary>
        /// 
        /// </summary>
        public int? TransferPayStatus
        {
            get { return m_TransferPayStatus; }
            set { m_TransferPayStatus = value; }
        }
		
		
		#region IDbSessionEntity Members
		public void ReadDBData(RowDataReader reader)
        {
            m_GuestRoomOrderItemID = reader[TableViewRoomOrderItemReport.GuestRoomOrderItemID];
            m_OrdersID = reader[TableViewRoomOrderItemReport.OrdersID];
            m_HotelInfoID = reader[TableViewRoomOrderItemReport.HotelInfoID];
            m_HotelName = reader[TableViewRoomOrderItemReport.HotelName];
            m_GuestRoomID = reader[TableViewRoomOrderItemReport.GuestRoomID];
            m_GuestRoomName = reader[TableViewRoomOrderItemReport.GuestRoomName];
            m_OriginalPrice = reader[TableViewRoomOrderItemReport.OriginalPrice];
            m_WeekdaysPrice = reader[TableViewRoomOrderItemReport.WeekdaysPrice];
            m_WeekendPrice = reader[TableViewRoomOrderItemReport.WeekendPrice];
            m_HolidayPrice = reader[TableViewRoomOrderItemReport.HolidayPrice];
            m_Profit = reader[TableViewRoomOrderItemReport.Profit];
            m_SettlementPrice = reader[TableViewRoomOrderItemReport.SettlementPrice];
            m_Discount = reader[TableViewRoomOrderItemReport.Discount];
            m_BackPoint = reader[TableViewRoomOrderItemReport.BackPoint];
            m_CityID = reader[TableViewRoomOrderItemReport.CityID];
            m_Area = reader[TableViewRoomOrderItemReport.Area];
            m_Tax = reader[TableViewRoomOrderItemReport.Tax];
            m_Quantity = reader[TableViewRoomOrderItemReport.Quantity];
            m_TotalAmount = reader[TableViewRoomOrderItemReport.TotalAmount];
            m_Creater = reader[TableViewRoomOrderItemReport.Creater];
            m_CreatedBy = reader[TableViewRoomOrderItemReport.CreatedBy];
            m_Created = reader[TableViewRoomOrderItemReport.Created];
            m_Modified = reader[TableViewRoomOrderItemReport.Modified];
            m_ModifiedBy = reader[TableViewRoomOrderItemReport.ModifiedBy];
            m_ModifiedByID = reader[TableViewRoomOrderItemReport.ModifiedByID];
            m_StartDate = reader[TableViewRoomOrderItemReport.StartDate];
            m_EndDate = reader[TableViewRoomOrderItemReport.EndDate];
            m_CustomerName = reader[TableViewRoomOrderItemReport.CustomerName];
            m_SystemProfit = reader[TableViewRoomOrderItemReport.SystemProfit];
            m_WeekdaysPriceSettled = reader[TableViewRoomOrderItemReport.WeekdaysPriceSettled];
            m_WeekendPriceSettled = reader[TableViewRoomOrderItemReport.WeekendPriceSettled];
            m_HolidayPriceSettled = reader[TableViewRoomOrderItemReport.HolidayPriceSettled];
            m_Visitors = reader[TableViewRoomOrderItemReport.Visitors];
            m_ContactPhone = reader[TableViewRoomOrderItemReport.ContactPhone];
            m_BroadbandCase = reader[TableViewRoomOrderItemReport.BroadbandCase];
            m_RoomSize = reader[TableViewRoomOrderItemReport.RoomSize];
            m_Breakfast = reader[TableViewRoomOrderItemReport.Breakfast];
            m_ItemOrdersNo = reader[TableViewRoomOrderItemReport.ItemOrdersNo];
            m_MembersID = reader[TableViewRoomOrderItemReport.MembersID];
            m_MemberName = reader[TableViewRoomOrderItemReport.MemberName];
            m_Contact = reader[TableViewRoomOrderItemReport.Contact];
            m_OrderStatusID = reader[TableViewRoomOrderItemReport.OrderStatusID];
            m_OrderTypeID = reader[TableViewRoomOrderItemReport.OrderTypeID];
            m_OrdersNo = reader[TableViewRoomOrderItemReport.OrdersNo];
            m_OrderDate = reader[TableViewRoomOrderItemReport.OrderDate];
            m_OrderTotalAmount = reader[TableViewRoomOrderItemReport.OrderTotalAmount];
            m_TelePhone = reader[TableViewRoomOrderItemReport.TelePhone];
            m_Mobile = reader[TableViewRoomOrderItemReport.Mobile];
            m_TradeNo = reader[TableViewRoomOrderItemReport.TradeNo];
            m_PayInfo = reader[TableViewRoomOrderItemReport.PayInfo];
            m_PayDate = reader[TableViewRoomOrderItemReport.PayDate];
            m_MemberNo = reader[TableViewRoomOrderItemReport.MemberNo];
            m_PreOrderStatusID = reader[TableViewRoomOrderItemReport.PreOrderStatusID];
            m_OrderStatusName = reader[TableViewRoomOrderItemReport.OrderStatusName];
            m_Address = reader[TableViewRoomOrderItemReport.Address];
            m_HotelTelePhone = reader[TableViewRoomOrderItemReport.HotelTelePhone];
            m_Fax = reader[TableViewRoomOrderItemReport.Fax];
            m_PayStatus = reader[TableViewRoomOrderItemReport.PayStatus];
            m_RefundrDate = reader[TableViewRoomOrderItemReport.RefundrDate];
            m_RefundAmount = reader[TableViewRoomOrderItemReport.RefundAmount];
            m_TransferDate = reader[TableViewRoomOrderItemReport.TransferDate];
            m_TransferTradeNo = reader[TableViewRoomOrderItemReport.TransferTradeNo];
            m_TransferPayInfo = reader[TableViewRoomOrderItemReport.TransferPayInfo];
            m_TransferPayStatus = reader[TableViewRoomOrderItemReport.TransferPayStatus];
        }
		
		public void WriteDBData(RowDataWriter writer)
        {
        }

        public void SetIdentityAfterInsert(DBObject idd)
        {
        }
		
		public string TableName
        {
            get { return TableViewRoomOrderItemReport.Table; }
        }
		#endregion
		
		
		#region IJsonClass Members

        public void JsonDeSerializeObj(JsonHashTable hashToRead)
        {
             m_GuestRoomOrderItemID = hashToRead["GuestRoomOrderItemID"];
			 
             m_OrdersID = hashToRead["OrdersID"];
			 
             m_HotelInfoID = hashToRead["HotelInfoID"];
			 
             m_HotelName = hashToRead["HotelName"];
			 
             m_GuestRoomID = hashToRead["GuestRoomID"];
			 
             m_GuestRoomName = hashToRead["GuestRoomName"];
			 
             m_OriginalPrice = hashToRead["OriginalPrice"];
			 
             m_WeekdaysPrice = hashToRead["WeekdaysPrice"];
			 
             m_WeekendPrice = hashToRead["WeekendPrice"];
			 
             m_HolidayPrice = hashToRead["HolidayPrice"];
			 
             m_Profit = hashToRead["Profit"];
			 
             m_SettlementPrice = hashToRead["SettlementPrice"];
			 
             m_Discount = hashToRead["Discount"];
			 
             m_BackPoint = hashToRead["BackPoint"];
			 
             m_CityID = hashToRead["CityID"];
			 
             m_Area = hashToRead["Area"];
			 
             m_Tax = hashToRead["Tax"];
			 
             m_Quantity = hashToRead["Quantity"];
			 
             m_TotalAmount = hashToRead["TotalAmount"];
			 
             m_Creater = hashToRead["Creater"];
			 
             m_CreatedBy = hashToRead["CreatedBy"];
			 
             m_Created = hashToRead["Created"];
			 
             m_Modified = hashToRead["Modified"];
			 
             m_ModifiedBy = hashToRead["ModifiedBy"];
			 
             m_ModifiedByID = hashToRead["ModifiedByID"];
			 
             m_StartDate = hashToRead["StartDate"];
			 
             m_EndDate = hashToRead["EndDate"];
			 
             m_CustomerName = hashToRead["CustomerName"];
			 
             m_SystemProfit = hashToRead["SystemProfit"];
			 
             m_WeekdaysPriceSettled = hashToRead["WeekdaysPriceSettled"];
			 
             m_WeekendPriceSettled = hashToRead["WeekendPriceSettled"];
			 
             m_HolidayPriceSettled = hashToRead["HolidayPriceSettled"];
			 
             m_Visitors = hashToRead["Visitors"];
			 
             m_ContactPhone = hashToRead["ContactPhone"];
			 
             m_BroadbandCase = hashToRead["BroadbandCase"];
			 
             m_RoomSize = hashToRead["RoomSize"];
			 
             m_Breakfast = hashToRead["Breakfast"];
			 
             m_ItemOrdersNo = hashToRead["ItemOrdersNo"];
			 
             m_MembersID = hashToRead["MembersID"];
			 
             m_MemberName = hashToRead["MemberName"];
			 
             m_Contact = hashToRead["Contact"];
			 
             m_OrderStatusID = hashToRead["OrderStatusID"];
			 
             m_OrderTypeID = hashToRead["OrderTypeID"];
			 
             m_OrdersNo = hashToRead["OrdersNo"];
			 
             m_OrderDate = hashToRead["OrderDate"];
			 
             m_OrderTotalAmount = hashToRead["OrderTotalAmount"];
			 
             m_TelePhone = hashToRead["TelePhone"];
			 
             m_Mobile = hashToRead["Mobile"];
			 
             m_TradeNo = hashToRead["TradeNo"];
			 
             m_PayInfo = hashToRead["PayInfo"];
			 
             m_PayDate = hashToRead["PayDate"];
			 
             m_MemberNo = hashToRead["MemberNo"];
			 
             m_PreOrderStatusID = hashToRead["PreOrderStatusID"];
			 
             m_OrderStatusName = hashToRead["OrderStatusName"];
			 
             m_Address = hashToRead["Address"];
			 
             m_HotelTelePhone = hashToRead["HotelTelePhone"];
			 
             m_Fax = hashToRead["Fax"];
			 
             m_PayStatus = hashToRead["PayStatus"];
			 
             m_RefundrDate = hashToRead["RefundrDate"];
			 
             m_RefundAmount = hashToRead["RefundAmount"];
			 
             m_TransferDate = hashToRead["TransferDate"];
			 
             m_TransferTradeNo = hashToRead["TransferTradeNo"];
			 
             m_TransferPayInfo = hashToRead["TransferPayInfo"];
			 
             m_TransferPayStatus = hashToRead["TransferPayStatus"];
			 
        }

        public void JsonSerializeObj(JsonHashTable hashToFill)
        {
            hashToFill["GuestRoomOrderItemID"] = GuestRoomOrderItemID;
			
            hashToFill["OrdersID"] = OrdersID;
			
            hashToFill["HotelInfoID"] = HotelInfoID;
			
            hashToFill["HotelName"] = HotelName;
			
            hashToFill["GuestRoomID"] = GuestRoomID;
			
            hashToFill["GuestRoomName"] = GuestRoomName;
			
            hashToFill["OriginalPrice"] = OriginalPrice;
			
            hashToFill["WeekdaysPrice"] = WeekdaysPrice;
			
            hashToFill["WeekendPrice"] = WeekendPrice;
			
            hashToFill["HolidayPrice"] = HolidayPrice;
			
            hashToFill["Profit"] = Profit;
			
            hashToFill["SettlementPrice"] = SettlementPrice;
			
            hashToFill["Discount"] = Discount;
			
            hashToFill["BackPoint"] = BackPoint;
			
            hashToFill["CityID"] = CityID;
			
            hashToFill["Area"] = Area;
			
            hashToFill["Tax"] = Tax;
			
            hashToFill["Quantity"] = Quantity;
			
            hashToFill["TotalAmount"] = TotalAmount;
			
            hashToFill["Creater"] = Creater;
			
            hashToFill["CreatedBy"] = CreatedBy;
			
            hashToFill["Created"] = Created;
			
            hashToFill["Modified"] = Modified;
			
            hashToFill["ModifiedBy"] = ModifiedBy;
			
            hashToFill["ModifiedByID"] = ModifiedByID;
			
            hashToFill["StartDate"] = StartDate;
			
            hashToFill["EndDate"] = EndDate;
			
            hashToFill["CustomerName"] = CustomerName;
			
            hashToFill["SystemProfit"] = SystemProfit;
			
            hashToFill["WeekdaysPriceSettled"] = WeekdaysPriceSettled;
			
            hashToFill["WeekendPriceSettled"] = WeekendPriceSettled;
			
            hashToFill["HolidayPriceSettled"] = HolidayPriceSettled;
			
            hashToFill["Visitors"] = Visitors;
			
            hashToFill["ContactPhone"] = ContactPhone;
			
            hashToFill["BroadbandCase"] = BroadbandCase;
			
            hashToFill["RoomSize"] = RoomSize;
			
            hashToFill["Breakfast"] = Breakfast;
			
            hashToFill["ItemOrdersNo"] = ItemOrdersNo;
			
            hashToFill["MembersID"] = MembersID;
			
            hashToFill["MemberName"] = MemberName;
			
            hashToFill["Contact"] = Contact;
			
            hashToFill["OrderStatusID"] = OrderStatusID;
			
            hashToFill["OrderTypeID"] = OrderTypeID;
			
            hashToFill["OrdersNo"] = OrdersNo;
			
            hashToFill["OrderDate"] = OrderDate;
			
            hashToFill["OrderTotalAmount"] = OrderTotalAmount;
			
            hashToFill["TelePhone"] = TelePhone;
			
            hashToFill["Mobile"] = Mobile;
			
            hashToFill["TradeNo"] = TradeNo;
			
            hashToFill["PayInfo"] = PayInfo;
			
            hashToFill["PayDate"] = PayDate;
			
            hashToFill["MemberNo"] = MemberNo;
			
            hashToFill["PreOrderStatusID"] = PreOrderStatusID;
			
            hashToFill["OrderStatusName"] = OrderStatusName;
			
            hashToFill["Address"] = Address;
			
            hashToFill["HotelTelePhone"] = HotelTelePhone;
			
            hashToFill["Fax"] = Fax;
			
            hashToFill["PayStatus"] = PayStatus;
			
            hashToFill["RefundrDate"] = RefundrDate;
			
            hashToFill["RefundAmount"] = RefundAmount;
			
            hashToFill["TransferDate"] = TransferDate;
			
            hashToFill["TransferTradeNo"] = TransferTradeNo;
			
            hashToFill["TransferPayInfo"] = TransferPayInfo;
			
            hashToFill["TransferPayStatus"] = TransferPayStatus;
			
        }

        #endregion
		
	}
}
